gdkwindow: check grab window and children on get_pointer_window()
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 16 Sep 2014 15:14:09 +0000 (17:14 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 23 Sep 2014 00:30:12 +0000 (20:30 -0400)
commitf96437317b0d3ae4d9b7ede29b239d3bbead6580
tree4ff5c677ab64d97c6b594ed3cf3df2bfc6985706
parentf8f74b59e38b402bf78ac8b454a8f26e839f8349
gdkwindow: check grab window and children on get_pointer_window()

If !owner_events, the pointer window has been usually set to NULL if
the pointer fell outside the grabbing widget, but it was not being
checked that the pointer_window is actually a child of the grab
window, in which case it should be obtained as if ungrabbed.

https://bugzilla.gnome.org/show_bug.cgi?id=735749
gdk/gdkwindow.c